package bean;

import java.util.Date;

public class orders{  
    private int sendtype;
    private String message;
    private int paytype;
    private int state;
   private Date paytime;    
   private Date sendtime;
    private Date endtime;
    private Date createtime;
    private Date updatetime;
    private double totalprice;
    private String efg;
    private String hij;
    private Integer id;
   private Integer userid;  
    private Integer receivemsgid;
    private orderltem oinfo;
    private receiverMsg rinfo;
    
    
    
	public double getTotalprice() {
		return totalprice;
	}
	public void setTotalprice(double totalprice) {
		this.totalprice = totalprice;
	}
	/**
	 * @return the sendtype
	 */
	public int getSendtype() {
		return sendtype;
	}
	/**
	 * @param sendtype the sendtype to set
	 */
	public void setSendtype(int sendtype) {
		this.sendtype = sendtype;
	}
	/**
	 * @return the message
	 */
	public String getMessage() {
		return message;
	}
	/**
	 * @param message the message to set
	 */
	public void setMessage(String message) {
		this.message = message;
	}
	/**
	 * @return the paytype
	 */
	public int getPaytype() {
		return paytype;
	}
	/**
	 * @param paytype the paytype to set
	 */
	public void setPaytype(int paytype) {
		this.paytype = paytype;
	}
	/**
	 * @return the state
	 */
	public int getState() {
		return state;
	}
	/**
	 * @param state the state to set
	 */
	public void setState(int state) {
		this.state = state;
	}
	/**
	 * @return the paytime
	 */
	public Date getPaytime() {
		return paytime;
	}
	/**
	 * @param paytime the paytime to set
	 */
	public void setPaytime(Date paytime) {
		this.paytime = paytime;
	}
	/**
	 * @return the sendtime
	 */
	public Date getSendtime() {
		return sendtime;
	}
	/**
	 * @param sendtime the sendtime to set
	 */
	public void setSendtime(Date sendtime) {
		this.sendtime = sendtime;
	}
	/**
	 * @return the endtime
	 */
	public Date getEndtime() {
		return endtime;
	}
	/**
	 * @param endtime the endtime to set
	 */
	public void setEndtime(Date endtime) {
		this.endtime = endtime;
	}
	/**
	 * @return the createtime
	 */
	public Date getCreatetime() {
		return createtime;
	}
	/**
	 * @param createtime the createtime to set
	 */
	public void setCreatetime(Date createtime) {
		this.createtime = createtime;
	}
	/**
	 * @return the updatetime
	 */
	public Date getUpdatetime() {
		return updatetime;
	}
	/**
	 * @param updatetime the updatetime to set
	 */
	public void setUpdatetime(Date updatetime) {
		this.updatetime = updatetime;
	}

	/**
	 * @return the efg
	 */
	public String getEfg() {
		return efg;
	}
	/**
	 * @param efg the efg to set
	 */
	public void setEfg(String efg) {
		this.efg = efg;
	}
	/**
	 * @return the hij
	 */
	public String getHij() {
		return hij;
	}
	/**
	 * @param hij the hij to set
	 */
	public void setHij(String hij) {
		this.hij = hij;
	}
	/**
	 * @return the id
	 */
	public Integer getId() {
		return id;
	}
	/**
	 * @param id the id to set
	 */
	public void setId(Integer id) {
		this.id = id;
	}
	/**
	 * @return the userid
	 */
	public Integer getUserid() {
		return userid;
	}
	/**
	 * @param userid the userid to set
	 */
	public void setUserid(Integer userid) {
		this.userid = userid;
	}
	/**
	 * @return the receivemsgid
	 */
	public Integer getReceivemsgid() {
		return receivemsgid;
	}
	/**
	 * @param receivemsgid the receivemsgid to set
	 */
	public void setReceivemsgid(Integer receivemsgid) {
		this.receivemsgid = receivemsgid;
	}
	/**
	 * @return the oinfo
	 */
	public orderltem getOinfo() {
		return oinfo;
	}
	/**
	 * @param oinfo the oinfo to set
	 */
	public void setOinfo(orderltem oinfo) {
		this.oinfo = oinfo;
	}
	/**
	 * @return the rinfo
	 */
	public receiverMsg getRinfo() {
		return rinfo;
	}
	/**
	 * @param rinfo the rinfo to set
	 */
	public void setRinfo(receiverMsg rinfo) {
		this.rinfo = rinfo;
	}

	@Override
	public String toString() {
		return "orders [sendtype=" + sendtype + ", message=" + message + ", paytype=" + paytype + ", state=" + state
				+ ", paytime=" + paytime + ", sendtime=" + sendtime + ", endtime=" + endtime + ", createtime="
				+ createtime + ", updatetime=" + updatetime + ", totalprice=" + totalprice + ", efg=" + efg + ", hij="
				+ hij + ", id=" + id + ", userid=" + userid + ", receivemsgid=" + receivemsgid + ", oinfo=" + oinfo
				+ ", rinfo=" + rinfo + "]";
	}

	
	
	public orders(int sendtype, String message, int paytype, int state, Date paytime, Date sendtime, Date endtime,
			Date createtime, Date updatetime, double totalprice, String efg, String hij, Integer id, Integer userid,
			Integer receivemsgid, orderltem oinfo, receiverMsg rinfo) {
		super();
		this.sendtype = sendtype;
		this.message = message;
		this.paytype = paytype;
		this.state = state;
		this.paytime = paytime;
		this.sendtime = sendtime;
		this.endtime = endtime;
		this.createtime = createtime;
		this.updatetime = updatetime;
		this.totalprice = totalprice;
		this.efg = efg;
		this.hij = hij;
		this.id = id;
		this.userid = userid;
		this.receivemsgid = receivemsgid;
		this.oinfo = oinfo;
		this.rinfo = rinfo;
	}
	public orders(int sendtype, String message, int paytype, int state, Date paytime, Date sendtime, Date endtime,
			Date createtime, Date updatetime, Integer userid,
			Integer receivemsgid, orderltem oinfo, receiverMsg rinfo) {
		super();
		this.sendtype = sendtype;
		this.message = message;
		this.paytype = paytype;
		this.state = state;
		this.paytime = paytime;
		this.sendtime = sendtime;
		this.endtime = endtime;
		this.createtime = createtime;
		this.updatetime = updatetime;
		
		
		this.userid = userid;
		this.receivemsgid = receivemsgid;
		this.oinfo = oinfo;
		this.rinfo = rinfo;
	}
	public orders(int sendtype, String message, int paytype, int state, Date paytime, Date sendtime, Date endtime,
			Date createtime, Date updatetime,  Integer id, Integer userid,
			Integer receivemsgid, orderltem oinfo, receiverMsg rinfo,double totalprice) {
		super();
		this.sendtype = sendtype;
		this.message = message;
		this.paytype = paytype;
		this.state = state;
		this.paytime = paytime;
		this.sendtime = sendtime;
		this.endtime = endtime;
		this.createtime = createtime;
		this.updatetime = updatetime;
		
		this.id = id;
		this.userid = userid;
		this.receivemsgid = receivemsgid;
		this.oinfo = oinfo;
		this.rinfo = rinfo;
		this.totalprice=totalprice;
		
	}
	
	
	
	public orders(int sendtype, String message, int paytype, int state, Date paytime, Date sendtime, Date endtime,
			Date createtime, Date updatetime, double totalprice, Integer userid, Integer receivemsgid) {
		super();
		this.sendtype = sendtype;
		this.message = message;
		this.paytype = paytype;
		this.state = state;
		this.paytime = paytime;
		this.sendtime = sendtime;
		this.endtime = endtime;
		this.createtime = createtime;
		this.updatetime = updatetime;
		this.totalprice = totalprice;
		this.userid = userid;
		this.receivemsgid = receivemsgid;
	}
	public orders() {
		super();
	}

	
	
	
	
}
